package com.snake.spring.boot.smaple.retrofit.client;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import com.snake.spring.boot.smaple.retrofit.client.base.Result;
import com.snake.spring.boot.smaple.retrofit.client.bo.CommunityIdReq;
import com.snake.spring.boot.smaple.retrofit.client.dto.CommunityRespDTO;
import retrofit2.http.Body;
import retrofit2.http.POST;

@RetrofitClient(baseUrl = "${base.url:https://base-scms.cibfintech.com/qdp2-cloud-base-biz-api/}")
public interface CommunityBizClient {

    @POST(value = "v1/api/community/getCommunityByQdCommunityId")
    Result<CommunityRespDTO> getCommunityById(@Body CommunityIdReq req);
}
